import java.rmi.Remote;
import java.rmi.RemoteException;

public interface ServerFunc extends Remote {

	public Object addEvent(Event eventToAdd) throws RemoteException;
	public Object removeEvent(int theEventNumber) throws RemoteException;
	public Object makeReservation(int theEventNumber, int spaceRequested, String theName) throws RemoteException;
	public Object deleteReservation(int theEventNumber, int theConfirmationNumber) throws RemoteException;
	public Object viewEvents() throws RemoteException;
	public void connect(ClientCallbackInterface clientInfo) throws RemoteException;
	public void disconnect(ClientCallbackInterface clientInfo) throws RemoteException;
	public Object askEvent(int theEventNumber) throws RemoteException;
	public Object askReservation(int theEventNumber, int theConfNumber) throws RemoteException;
}
